package com.example.logging.Service.Impl;

import com.example.logging.Service.ILoggerService;
import com.example.user.bean.Log;
import com.example.user.dao.LogMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Auther: hjy(lc))
 * @Date: 2022/11/2-11-02-17:06
 * @Description：com.example.cms.Service.Impl
 */
@Service
public class LoggerServiceImpl implements ILoggerService {
    @Autowired
    private LogMapper mapper;
    @Override
    public void add(Log log) {
        mapper.insert(log);
    }
}
